# @Version:1.0
# @Author：green-citrus

print("---下面对象的布尔值为False---")
print(bool(False))
print(bool(0))
print(bool(None))
print(bool(""))
print(bool([])) # 空列表
print(bool(())) # 空元组
print(bool({})) # 空字典
print(bool(set())) # 空集合

content = "hello"
if content:
    print(f"hi {content}")
else:
    print("空字符串")

lst = [1, 2]
if lst:
    print(f"lst: {lst}")
else:
    print("空列表")


